package cc.comac.mom.api.config;

import cc.comac.mom.bean.config.EquipConnectConfigBean;
import cc.comac.mom.bean.config.EquipConnectConfigParamBean;
import cc.comac.mom.entity.config.EquipConnectConfigEntity;
import cc.comac.mom.util.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipConnectConfigService {

	@RequestMapping(value = "/p/cs/EquipConnectConfigService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipConnectConfigBean obj);

	@RequestMapping(value = "/p/cs/EquipConnectConfigService/update",method = RequestMethod.POST)
	ResultBean update(@RequestBody EquipConnectConfigBean obj);

	@RequestMapping(value = "/p/cs/EquipConnectConfigService/delete",method = RequestMethod.POST)
	ResultBean delete(@RequestBody EquipConnectConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipConnectConfigService/getById",method = RequestMethod.POST)
	ResultBean getById(@RequestBody EquipConnectConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipConnectConfigService/selectByCondition",method = RequestMethod.POST)
	ResultBean selectByCondition(@RequestBody EquipConnectConfigParamBean obj);
	}
